package com.wsjc.manager.entity;

import java.util.Date;

/**
 * 
 * @Description 医院表 
 * @ClassName   WjHospital 
 * @Date        2018年7月22日 下午6:03:42 
 * @Author      liyang 
 *
 */

public class WjHospital {
	
	/** 主键 */
    private String id;

    /** 秘钥 */
    private String key;
    
    /** 类型 */
    private String type;

    /** 地址（省_市_区县_具体地址） */
    private String address;

    /** 单位类型 */
    private String industryCode;

    /** 单位联系人姓名 */
    private String contactsName;

    /** 联系人电话 */
    private String tel;

    /** 单位法人 */
    private String corporateName;

    /** 法人证件类型 */
    private String certificateType;

    /** 法人证件号码 */
    private String certificateNumber;

    /** 卫生许可证号 */
    private String legalPermitsNumber;

    /** 许可证有效期 */
    private Date permitExpiryDate;

    /** 区的ID（行政区划分） */
    private String areaId;

    /** 百度GPS经度坐标x */
    private String baiduGpsX;

    /** 百度GPS经度坐标y */
    private String baiduGpsY;

    /** 营业执照证号 */
    private String charteredNumber;

    /** 营业执照有效期 */
    private Date charteredExpiryDate;

    /** 添加人ID */
    private String userId;

    /** 所属医疗集团 ID */
    private String healthcareId;

    /** 医院名字 */
    private String name;

    /** 使用有效期 */
    private Date useExpiryDate;

    /** 推送开关 */
    private String pushSwitch;

    /** 创建时间 */
    private Date createTime ;

    /** 修改时间 */
    private Date editTime;

    /** 高德GPS经度坐标x */
    private String gaodeGpsX;

    /** 高德GPS经度坐标y */
    private String gaodeGpsY;

    /** 版本信息 */
    private int version = 0;

    /** 高德GPS经度坐标y */
    private String oldId;
    
    public WjHospital(String id, String key, String address, String industryCode, String contactsName, String tel, String corporateName, String certificateType, String certificateNumber, String legalPermitsNumber, Date permitExpiryDate, String areaId, String baiduGpsX, String baiduGpsY, String charteredNumber, Date charteredExpiryDate, String userId, String healthcareId, String name, Date useExpiryDate, String pushSwitch, Date createTime, Date editTime, String gaodeGpsX, String gaodeGpsY, int version) {
        this.id = id;
        this.key = key;
        this.address = address;
        this.industryCode = industryCode;
        this.contactsName = contactsName;
        this.tel = tel;
        this.corporateName = corporateName;
        this.certificateType = certificateType;
        this.certificateNumber = certificateNumber;
        this.legalPermitsNumber = legalPermitsNumber;
        this.permitExpiryDate = permitExpiryDate;
        this.areaId = areaId;
        this.baiduGpsX = baiduGpsX;
        this.baiduGpsY = baiduGpsY;
        this.charteredNumber = charteredNumber;
        this.charteredExpiryDate = charteredExpiryDate;
        this.userId = userId;
        this.healthcareId = healthcareId;
        this.name = name;
        this.useExpiryDate = useExpiryDate;
        this.pushSwitch = pushSwitch;
        this.createTime = createTime;
        this.editTime = editTime;
        this.gaodeGpsX = gaodeGpsX;
        this.gaodeGpsY = gaodeGpsY;
        this.version = version;
    }

    public WjHospital() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key == null ? null : key.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getIndustryCode() {
        return industryCode;
    }

    public void setIndustryCode(String industryCode) {
        this.industryCode = industryCode;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName == null ? null : contactsName.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getCorporateName() {
        return corporateName;
    }

    public void setCorporateName(String corporateName) {
        this.corporateName = corporateName == null ? null : corporateName.trim();
    }

    public String getCertificateType() {
        return certificateType;
    }

    public void setCertificateType(String certificateType) {
        this.certificateType = certificateType == null ? null : certificateType.trim();
    }

    public String getCertificateNumber() {
        return certificateNumber;
    }

    public void setCertificateNumber(String certificateNumber) {
        this.certificateNumber = certificateNumber == null ? null : certificateNumber.trim();
    }

    public String getLegalPermitsNumber() {
        return legalPermitsNumber;
    }

    public void setLegalPermitsNumber(String legalPermitsNumber) {
        this.legalPermitsNumber = legalPermitsNumber == null ? null : legalPermitsNumber.trim();
    }

    public Date getPermitExpiryDate() {
        return permitExpiryDate;
    }

    public void setPermitExpiryDate(Date permitExpiryDate) {
        this.permitExpiryDate = permitExpiryDate;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId == null ? null : areaId.trim();
    }

    public String getBaiduGpsX() {
        return baiduGpsX;
    }

    public void setBaiduGpsX(String baiduGpsX) {
        this.baiduGpsX = baiduGpsX == null ? null : baiduGpsX.trim();
    }

    public String getBaiduGpsY() {
        return baiduGpsY;
    }

    public void setBaiduGpsY(String baiduGpsY) {
        this.baiduGpsY = baiduGpsY == null ? null : baiduGpsY.trim();
    }

    public String getCharteredNumber() {
        return charteredNumber;
    }

    public void setCharteredNumber(String charteredNumber) {
        this.charteredNumber = charteredNumber == null ? null : charteredNumber.trim();
    }

    public Date getCharteredExpiryDate() {
        return charteredExpiryDate;
    }

    public void setCharteredExpiryDate(Date charteredExpiryDate) {
        this.charteredExpiryDate = charteredExpiryDate;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getHealthcareId() {
        return healthcareId;
    }

    public void setHealthcareId(String healthcareId) {
        this.healthcareId = healthcareId == null ? null : healthcareId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getUseExpiryDate() {
        return useExpiryDate;
    }

    public void setUseExpiryDate(Date useExpiryDate) {
        this.useExpiryDate = useExpiryDate;
    }

    public String getPushSwitch() {
        return pushSwitch;
    }

    public void setPushSwitch(String pushSwitch) {
        this.pushSwitch = pushSwitch == null ? null : pushSwitch.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public String getGaodeGpsX() {
        return gaodeGpsX;
    }

    public void setGaodeGpsX(String gaodeGpsX) {
        this.gaodeGpsX = gaodeGpsX == null ? null : gaodeGpsX.trim();
    }

    public String getGaodeGpsY() {
        return gaodeGpsY;
    }

    public void setGaodeGpsY(String gaodeGpsY) {
        this.gaodeGpsY = gaodeGpsY == null ? null : gaodeGpsY.trim();
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

	public String getOldId() {
		return oldId;
	}

	public void setOldId(String oldId) {
		this.oldId = oldId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "WjHospital [id=" + id + ", key=" + key + ", type=" + type + ", address=" + address + ", industryCode="
				+ industryCode + ", contactsName=" + contactsName + ", tel=" + tel + ", corporateName=" + corporateName
				+ ", certificateType=" + certificateType + ", certificateNumber=" + certificateNumber
				+ ", legalPermitsNumber=" + legalPermitsNumber + ", permitExpiryDate=" + permitExpiryDate + ", areaId="
				+ areaId + ", baiduGpsX=" + baiduGpsX + ", baiduGpsY=" + baiduGpsY + ", charteredNumber="
				+ charteredNumber + ", charteredExpiryDate=" + charteredExpiryDate + ", userId=" + userId
				+ ", healthcareId=" + healthcareId + ", name=" + name + ", useExpiryDate=" + useExpiryDate
				+ ", pushSwitch=" + pushSwitch + ", createTime=" + createTime + ", editTime=" + editTime
				+ ", gaodeGpsX=" + gaodeGpsX + ", gaodeGpsY=" + gaodeGpsY + ", version=" + version + ", oldId=" + oldId
				+ "]";
	}

	

    
	
	
	
	
	
	
	
}